package org.kgc.alanhealth.mapper;

import org.apache.ibatis.annotations.Param;
import org.kgc.alanhealth.entity.HospitalComments;
import org.kgc.alanhealth.entity.HospitalDrugs;

import java.util.Date;
import java.util.List;

/**
* @author 27493
* @description 针对表【hospital_comments】的数据库操作Mapper
* @createDate 2024-09-10 10:42:07
* @Entity org.kgc.alanhealth.entity.HospitalComments
*/
public interface HospitalCommentsMapper {

    int deleteByPrimaryKey(Long id);
    int insertAll( HospitalComments comments);
    List<HospitalComments> selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(HospitalComments record);
    void updateReplyDate(@Param("postNumber") int postNumber, @Param("commentTime") Date commentTime);
    int updateByPrimaryKey(HospitalComments record);
    List<HospitalComments> getAllComments();
    List<HospitalComments> getAllByReply();
    List<HospitalComments> getAllByRelease();
    List<HospitalComments> selectAll(int id);
}
